<template>
  <Head />
  <BgVideo />
  <div class="contact-us">
    <h1>{{ $t('ecology_1') }}</h1>
    <div class="content">
      <div class="title-box">
        <div class="title">{{ $t('ecology_02') }}</div>
        <div class="subTitle">{{ $t('ecology_03') }}</div>
      </div>

      <div class="item">
        <div class="text">{{ $t('ecology_04') }}</div>
        <div class="text">{{ $t('ecology_05') }}</div>
      </div>

      <div class="item">
        <div class="text">{{ $t('ecology_06') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_07') }}</div>
        <div class="text">{{ $t('ecology_08') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_09') }}</div>
        <div class="text">{{ $t('ecology_10') }}</div>
        <!-- <div class="text">{{$t('ecology_11')}}</div> -->
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_12') }}</div>
        <div class="text">- {{ $t('ecology_13') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_14') }}</div>
        <div class="text">- {{ $t('ecology_15') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_16') }}</div>
        <div class="text">- {{ $t('ecology_17') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_18') }}</div>
        <div class="text">- {{ $t('ecology_19') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_20') }}</div>
        <div class="text">- {{ $t('ecology_21') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_22') }}</div>
        <div class="text">- {{ $t('ecology_23') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_24') }}</div>
        <div class="text">- {{ $t('ecology_25') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_26') }}</div>
        <div class="text">- {{ $t('ecology_27') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_28') }}</div>
        <div class="text">- {{ $t('ecology_29') }}&nbsp;&nbsp;&nbsp;{{ $t('ecology_30') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_31') }}</div>
        <div class="text">{{ $t('ecology_32') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_33') }}</div>
      </div>
      <div class="item">
        <div class="text">{{ $t('ecology_34') }}</div>
        <div class="text">{{ $t('ecology_35') }}</div>
        <div class="text">{{ $t('ecology_36') }}</div>
        <!-- <div class="text">{{$t('ecology_37')}}</div> -->
      </div>
      <div class="item">
        <div class="center">
          <div class="text">{{ $t('ecology_38') }}</div>
          <div class="text">{{ $t('ecology_39') }}</div>
          <div class="text">{{ $t('ecology_40') }}</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
const video = ref(null);
onMounted(() => {
  if (video.value) {
    video.value.play(); // 手动播放视频
  }
});
</script>
<style scoped lang="scss">
$theme: #59e457;

.contact-us {
  margin-inline: 30px;
  padding: 100px 0 100px;
  position: relative;
  text-align: center;
  z-index: 1;

  h1 {
    color: #fff;
    font-family: Ethnocentric;
    font-size: 30px;
    font-weight: 400;
    margin: 0;
    position: relative;
    margin-bottom: 50px;
  }

  .content {
    background: #000000b3;
    border: 1px solid #59e457;
    border-radius: 5px;
    box-shadow: 0 0 100px 0 #000, 0 0 120px -1px #59e457;
    padding: 2rem 1rem;
    text-align: left;
    width: 100%;

    color: #fff;
    font-size: 15px;
    line-height: 18px;
    margin: 12px 0 28px;
    position: relative;

    .title-box {
      width: 100%;
      font-size: 18px;

      .title {
        text-align: left;
        margin-bottom: 10px;
      }

      .subTitle {
        margin-bottom: 30px;
        width: 100%;
        text-align: right;
      }
    }

    h1,
    h2 {
      font-family: Ethnocentric;
      font-size: 20px;
      font-weight: 400;
      line-height: 20px;
      margin: 0;
      position: relative;
      margin-bottom: 10px;
    }

    h1 {
      font-size: 20px;
      text-align: center;
      color: $theme;
    }

    h2 {
      font-size: 16px;
    }

    .item {
      margin-bottom: 20px;

      &:last-child {
        margin-bottom: 0;
      }

      .text {
        font-size: 14px;
        color: rgba(215, 215, 215, 0.8);
        margin-bottom: 5px;

        &.textIndent {
          text-indent: 2em;
        }

        &.footer {
          font-size: 16px;
          color: #fff;
        }
      }
    }
  }
}

.center {
  text-align: center;
}</style>
